package com.mustafaiev.tair.cts.model;

import java.util.List;

import javax.persistence.Entity;
import javax.persistence.Table;

import com.mustafaiev.tair.cts.enums.EntityState;

/**
 * @author tair
 * 
 */
@Entity
@Table(name = "groups")
public class Group implements ICostTrackingSystemModel {

	private static final long serialVersionUID = 1951841184565177706L;

	private Long id;

	private Long payer;

	private String groupName;

	private EntityState state;

	private List<Payer> payers;

	public Long getId() {
		return this.id;
	}

	public void setId(final Long id) {
		this.id = id;
	}

	public Long getPayer() {
		return this.payer;
	}

	public void setPayer(final Long payer) {
		this.payer = payer;
	}

	public String getGroupName() {
		return this.groupName;
	}

	public void setGroupName(final String groupName) {
		this.groupName = groupName;
	}

	public EntityState getState() {
		return this.state;
	}

	public void setState(final EntityState state) {
		this.state = state;
	}

	public List<Payer> getPayers() {
		return this.payers;
	}

	public void setPayers(final List<Payer> payers) {
		this.payers = payers;
	}

}
